package com.fcat.common.user.mapper;

import com.fcat.springboot.mybatis.mapper.base.TsuantoneBaseMapper;
import com.fcat.common.user.entity.Permission;
import com.fcat.common.user.vo.PermissionVO;

import java.util.List;
import java.util.Map;

public interface PermissionMapper extends TsuantoneBaseMapper<Permission> {
    List<Permission> getListByRoleIds(List<Long> list);

    List<PermissionVO> getAll();

    List<Permission> getPermissionByRoleId(Map<String, Object> map);

    List<Permission> getListByUserId(Map<String, Object> map);
}